package com.jdrx.ocp.beans.constans;

/**
 * @Author: Huangxg
 * @Date: 2018/12/7 15:17
 */
public enum EUserSecurity {

    /**
     * 长时间未修改账户密码
     */
    S_LONG_TIME_CHANGE_PWD("long_time_change_pwd","长时间未修改账户密码"),
//    S_CHANGE_MAX_DAY("s_change_max_day","密码修改最大天数"),
//    S_PWD_MIN_LENGTH("pwd_min_length","密码最小长度"),
    // 1 是  0 否
    S_FIRST_LOGIN_CHANGE_PWD("first_login_change_pwd","首次登录需修改密码"),
    S_SAFE("safe","帐户安全"),
    PASSWORD_MIN("password_min","密码最小长度"),
    PASSWORD_DIFFICULTY("password_difficulty","密码复杂度"),
    REPEAT_LOGIN("repeat_login","允许同一用户重复登录"),
    S_UN_LOCAL_LOGIN("un_local_login","账户在非常用地点登录");

    /**
     * 键值key
     */
    String key;
    /**
     * 键值说明
     */
    String value;

    EUserSecurity(String key,String value){
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
